<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>主流布局</title>
    <style>
        body{
            background-image: url(./000.jpg);
            background-size: cover;
            background-origin: border-box;
            background-repeat: no-repeat;
        }
        .container{
            margin:0 auto;
            font-family: kaiti;
            font-weight: 900;
            font-size: 50px;
            position: absolute;
            top: 13%;
            left:43%;
        }
        .box{
            position: relative;
            border: none;
            border-radius: 10em;
            display: flex;
            list-style: none;
            background: #bdddf1;
            box-shadow: 20px 40px 40px #00000033;
            padding: 10px;
            width: 900px;
            height: 40px;
            margin:15% auto;
            box-shadow: 0 5px 20px rgba(0,0,0,0.5);
        }
        .box li{
            flex: 1;
            text-align: center;
        }
        .box li a{
            position: relative;
            padding: 5px 15px;
            font: 500 24px '优设标题黑';
            border: none;
            outline: none;
            color:rgb(0, 0, 0) ;
            display: inline-block;
            text-decoration: none;
            z-index: 3;
            font-family: kaiti;
            font-weight: 900;
        }
        ul li a:hover{
            color: #fff;
        }
        ul li a:before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-top: 1px solid #8ed5d6;
        border-bottom: #9de4e5 1px solid;
        transform: scaleY(2);
        opacity: 0;
        transition: .5s;
        z-index: -1;
        background-color: rgb(255, 255, 255);
        border-radius: 10em;
        }
        ul li a:hover:before{
        transform: scaleY(1);
        opacity: 1;
        }
        ul li a:after{
        content: '';
        position: absolute;
        top: 1px;
        left: 0;
        width: 100%;
        height: 100%;
        background: #68abd7;
        transform: scale(0);
        transition: .5s;
        z-index: -1;
        border-radius: 10em;
        }
        ul li a:hover:after{
        transform: scale(1);
        }
    </style>
</head>
<body>
    <div class="container">主流布局</div>
    <ul class="box">
        <li ><a href="./多列布局.html">多列布局</a></li>
        <li ><a href="./flex布局.html">flex布局</a></li>
        <li ><a href="./骰子.html">flex布局骰子</a></li>
        <li ><a href="./grid布局2.html">gird布局</a></li>
        <li ><a href="./商品卡flex、grid布局.html">商品卡布局</a></li>
        
        
    </ul>
</body>
</html>